// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import router from './router'
import axios from 'axios'
// import ElementUI from 'element-ui'
// import 'element-ui/lib/theme-chalk/index.css'
import iView from 'iview'
import 'iview/dist/styles/iview.css'
import * as utils from './utils'
import * as filters from './filters'
require('./assets/less/common.less')
Vue.use(iView)
// Vue.use(ElementUI)
Vue.prototype.$utils = utils
Vue.config.productionTip = false
Vue.prototype.$axios = axios
// 实例化Vue的filter
Object.keys(filters).forEach(k => Vue.filter(k, filters[k]))

/* eslint-disable no-new */
new Vue({
  router
}).$mount('#app')
